﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using MahApps.Metro.Controls;
using MahApps.Metro;

namespace ProjTemp.Desktop.Common.Controls
{
    /// <summary>
    /// Interaction logic for CustomMetroWindow.xaml
    /// </summary>
    public class CustomPopupWindow : CustomMetroWindow
    {
        public CustomPopupWindow()
        {
        }

        protected override void Initialize()
        {
            base.Initialize();
            this.CustomizeWindow();
        }

        protected virtual void CustomizeWindow()
        {
            this.ShowMaxRestoreButton = false;
            this.ShowMinButton = false;
            this.WindowState = System.Windows.WindowState.Normal;
            this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
            this.SizeToContent = System.Windows.SizeToContent.WidthAndHeight;
        }
    }
}